//Map Level Dimensions
var Lvl2height = 8;
var Lvl2width = 6;

//The Map Layout
// (down)  (tower) (tower) (tower)
// (down)  (tower) (tower) (tower)
// (down)  (tower) (tower) (tower)
// (down)  (tower) (tower) (tower)


var Level2 = new Level(null,Lvl2height,Lvl2width);
var map2 =
['x','k'	,'x','k' 		,'o'		,'o' 		,'o'		,'o'
	,'k'		,'k' 		,'o'		,'o' 		,'o'		,'o'
	,'k'		,'h' 		,'g'		,'o' 		,'o'		,'o'
	,'k'		,'t' 		,'f'		,'o' 		,'o'		,'o'
	,'t'		,'f' 		,'l'	,'z','l' 		,'o'		,'o'
	,'k'		,'o' 		,'o'		,'o' 		,'o'		,'o'
	,'k'		,'o' 		,'o'		,'o' 		,'o'		,'o'
,'z','k'		,'o' 		,'o'		,'o' 		,'o'		,'o'
]

Level2.MapBuilder(map2,Lvl2height,Lvl2width);

var background2 = {
x:0,
y:0,
drawID:indexLevel2
}

Level2.addMapData(background2);
Level2.SetMapData();